package br.com.jokim.didaque.ui.activity;

import roboguice.activity.RoboActivity;
import roboguice.inject.ContentView;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;
import br.com.jokim.didaque.R;

@ContentView(R.layout.activity_splash)
public class SplashActivity extends RoboActivity implements Runnable {

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		Handler handler = new Handler();
		handler.postDelayed(this, 1000);
	}

	public void run() {
		startActivity(new Intent(this, FlipperActivity.class));
		finish();
	}
}
